package intelligentCustomer.planning;

/**
 * 步骤执行结果
 */
public class StepResult {
    private final boolean successful;
    private final String result;
    private final String stepName;
    
    public StepResult(boolean successful, String result) {
        this(successful, result, "");
    }
    
    public StepResult(boolean successful, String result, String stepName) {
        this.successful = successful;
        this.result = result;
        this.stepName = stepName;
    }
    
    public boolean isSuccessful() {
        return successful;
    }
    
    public String getResult() {
        return result;
    }
    
    public String getStepName() {
        return stepName;
    }
} 